home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-19 | 642 b | 41 lines | [TEXT/CWIE] |
- // CatInfoChanger.h
-
- #ifndef CatInfoChanger_h
- #define CatInfoChanger_h
-
- #ifndef A5_h
- #include "A5.h"
- #endif
- #ifndef Task_h
- #include "Task.h"
- #endif
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
- class CatInfoChanger: public CInfoPBRec,
- private Task
- {
- private:
- A5 a5;
- bool getting;
-
- virtual void Launch();
- virtual void Kill();
-
- static void Complete( CInfoPBRec *block );
- static void CompleteGlue();
-
- bool Running() const { return hFileInfo.ioResult > 0; }
-
- public:
- CatInfoChanger();
-
- Task *Get( const FSSpec& );
- Task *Set( const FSSpec& );
-
- OSErr Error() const { return hFileInfo.ioResult; }
- };
-
- #endif
-